package com.ruoyi.framework.web.mapper;


import com.ruoyi.framework.web.domain.server.SysAgentFrameword;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 管理Mapper接口
 *
 * @author ruoyi
 * @date 2024-06-12
 */
@Mapper
public interface SysAgentFramewordMapper
{
    @Select("select *,start_time as startTime,end_time as endTime  from sys_agent where id = #{id}")
    public SysAgentFrameword selectSysAgentById(Long id);


    @Select("select *,start_time as startTime,end_time as endTime from sys_agent where dept_id = #{deptId}")
    List<SysAgentFrameword> selectSysAgentByDeptId(Long deptId);






}
